package com.qf.service.impl;

import com.qf.dao.EmpManagerDao;
import com.qf.entity.EmpManager;
import com.qf.service.EmpManagerService;

/**
 * @author zdl
 * @date 2025/1/16
 */
public class EmpManagerServiceImpl implements EmpManagerService {
    private EmpManagerDao empManagerDao = new EmpManagerDao();
    @Override
    public boolean login(String username, String password) {
        EmpManager empManager = empManagerDao.selectEmpManagerByUsernameAndPassword(username, password);
        return empManager != null;
    }
}
